<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<title>Diff</title>
<meta name="Generator" content="Vim/7.4">
<meta name="plugin-version" content="2html_test">
<meta name="settings" content="no_progress,dynamic_folds,whole_filler,use_css,expand_tabs,line_ids,ignore_conceal,hover_unfold,prevent_copy=">
<meta name="colorscheme" content="none">
<style type="text/css">
<!--
pre { font-family: monospace; color: #ffffff; background-color: #000000; }
body { font-family: monospace; color: #ffffff; background-color: #000000; }
* { font-size: 1em; }
.Statement { color: #ffff60; font-weight: bold; }
.PreProc { color: #ff80ff; }
.Type { color: #60ff60; font-weight: bold; }
.Folded { color: #00ffff; background-color: #808080; padding-bottom: 1px; }
.FoldColumn { color: #00ffff; background-color: #c0c0c0; padding-bottom: 1px; }
.LineNr { color: #ffff00; }
.Comment { color: #80a0ff; }
.Constant { color: #ffa0a0; }
.Special { color: #ffa500; }
.Normal { color: #ffffff; background-color: #000000; padding-bottom: 1px; }
.Todo { color: #0000ff; background-color: #ffff00; padding-bottom: 1px; }
.DiffAdd { background-color: #000080; padding-bottom: 1px; }
.DiffChange { background-color: #800080; padding-bottom: 1px; }
.DiffDelete { color: #0000ff; background-color: #008080; padding-bottom: 1px; font-weight: bold; }
.DiffText { background-color: #ff0000; padding-bottom: 1px; font-weight: bold; }
.FoldColumn { text-decoration: none; white-space: pre; }

body * { margin: 0; padding: 0; }
.open-fold   > .Folded { display: none;  }
.open-fold   > .fulltext { display: inline; }
.closed-fold > .fulltext { display: none;  }
.closed-fold > .Folded { display: inline; }
.open-fold   > .toggle-open   { display: none;   }
.open-fold   > .toggle-closed { display: inline; }
.closed-fold > .toggle-open   { display: inline; }
.closed-fold > .toggle-closed { display: none;   }
/* opening a fold while hovering won't be supported by IE6 and other
similar browsers, but it should fail gracefully. */
.closed-fold:hover > .fulltext { display: inline; }
.closed-fold:hover > .toggle-filler { display: none; }
.closed-fold:hover > .Folded { display: none; }
-->
<!--
table { table-layout: fixed; }
html, body, table, tbody { width: 100%; margin: 0; padding: 0; }
th, td { width: 50.0%; }
td div { overflow: auto; }
-->
</style>
<script type='text/javascript'>
<!--
  function toggleFold(objID)
  {
    for (win_num = 1; win_num <= 2; win_num++)
    {
      var fold;
      fold = document.getElementById("win"+win_num+objID);
      if(fold.className == 'closed-fold')
      {
        fold.className = 'open-fold';
      }
      else if (fold.className == 'open-fold')
      {
        fold.className = 'closed-fold';
      }
    }
  }

/* function to open any folds containing a jumped-to line before jumping to it */
function JumpToLine()
{
  var lineNum;
  lineNum = window.location.hash;
  lineNum = lineNum.substr(1); /* strip off '#' */

  if (lineNum.indexOf('L') == -1) {
    lineNum = 'L'+lineNum;
  }
  if (lineNum.indexOf('W') == -1) {
    lineNum = 'W1'+lineNum;
  }
  lineElem = document.getElementById(lineNum);

  /* navigate upwards in the DOM tree to open all folds containing the line */
  var node = lineElem;
  while (node && node.id != 'vimCodeElement')
  {
    if (node.className == 'closed-fold')
    {
      /* toggle open the fold ID (remove window ID) */
      toggleFold(node.id.substr(4));
    }
    node = node.parentNode;
  }
  /* Always jump to new location even if the line was hidden inside a fold, or
   * we corrected the raw number to a line ID.
   */
  if (lineElem) {
    lineElem.scrollIntoView(true);
  }
  return true;
}
if ('onhashchange' in window) {
  window.onhashchange = JumpToLine;
}

-->
</script>
</head>
<body onload='JumpToLine();'>
<table border='1' width='100%' id='vimCodeElement'>
<tr>
<th>input/test.vim</th>
<th>input/test_modified.vim</th>
</tr><tr>
<td valign="top"><div>
<pre>
<span class="FoldColumn">  </span><span id="W1L1" class="LineNr"></span><span class="Comment">&quot; source this file to view a test of the conceal feature</span>
<span class="FoldColumn">  </span><span id="W1L2" class="LineNr"></span><span class="Comment DiffChange">&quot; </span><span class="Comment DiffText">change</span><span class="Comment DiffChange"> the conceallevel by pressing &gt; or &lt; to see it change</span><span class="DiffChange">                   </span>
<span class="FoldColumn">  </span><span id="W1L3" class="LineNr"></span>
<span class="FoldColumn">  </span><span id="W1L4" class="LineNr"></span>
<span class="FoldColumn">  </span><span id="W1L5" class="LineNr"></span><span class="Comment">&quot;{{{{{{ start 2 folds</span>
<span class="FoldColumn">  </span><span id="W1L6" class="LineNr"></span><span class="Statement">syntax</span> <span class="Type">match</span> <span class="Type">concealmatch</span> <span class="Constant">/conceal matched text conceal/</span> <span class="Special">conceal</span> <span class="Special">containedin=</span>all
<span class="FoldColumn">  </span><span id="W1L7" class="LineNr"></span>          <span class="Statement">syntax</span> <span class="Type">match</span> <span class="Type">concealconsec</span> <span class="Constant">/consecutive match/</span> <span class="Special">conceal</span> <span class="Special">containedin=</span>all
<span class="FoldColumn">  </span><span id="W1L8" class="LineNr"></span>          <span class="Statement">syntax</span> <span class="Type">region</span> <span class="Type">concealregion</span> <span class="Type">start</span>=<span class="Constant">/conceal--&gt;/</span> <span class="Type">end</span>=<span class="Constant">/&lt;--conceal/</span> <span class="Special">conceal</span> cchar=» <span class="Special">containedin=</span>all
<span id='win1fold1' class='closed-fold'><a href='#' class='toggle-open FoldColumn' onclick='javascript:toggleFold("fold1");'>+</a><a href='#' class='toggle-open FoldColumn' onclick='javascript:toggleFold("fold1");'> </a><a href='#' class='toggle-closed FoldColumn' onclick='javascript:toggleFold("fold1");'>- </a><span class="Folded">+--  4 lines: syntax region concealends matchgroup=concealedend start=/concealed end\ze&lt;--/ end=/--&gt;\zsconcealed end/ concealends containedin=all
</span><span class='fulltext'><span id="W1L9" class="LineNr"></span><span class="Statement">syntax</span> <span class="Type">region</span> <span class="Type">concealends</span> <span class="Special">matchgroup=</span><span class="Type">conceal</span>edend <span class="Type">start</span>=<span class="Constant">/concealed end\ze&lt;--/</span> <span class="Type">end</span>=<span class="Constant">/--&gt;\zsconcealed end/</span> <span class="Special">concealends</span> <span class="Special">containedin=</span>all
<a href='#' class='FoldColumn' onclick='javascript:toggleFold("fold1");'>| </a><span id="W1L10" class="LineNr"></span><span class="Comment">&quot;}}} end fold 1</span>
<a href='#' class='FoldColumn' onclick='javascript:toggleFold("fold1");'>| </a><span id="W1L11" class="LineNr"></span>
<a href='#' class='FoldColumn' onclick='javascript:toggleFold("fold1");'>| </a><span id="W1L12" class="LineNr"></span><span class="Statement">set</span> <span class="PreProc">conceallevel</span>=1
</span></span><span class="FoldColumn">  </span><span id="W1L13" class="LineNr"></span><span class="Statement">nmap</span> &gt; :set conceallevel+=1<span class="Special">&lt;</span><span class="Special">CR</span><span class="Special">&gt;</span>
<span class="FoldColumn">  </span><span id="W1L14" class="LineNr"></span><span class="Statement">nmap</span> &lt; :set conceallevel-=1<span class="Special">&lt;</span><span class="Special">CR</span><span class="Special">&gt;</span>
<span class="FoldColumn">  </span><span id="W1L15" class="LineNr"></span>
<span class="FoldColumn">  </span><span id="W1L16" class="LineNr"></span><span class="Statement">finish</span>
<span class="FoldColumn">  </span><span id="W1L17" class="LineNr"></span><span class="Comment">&quot;}}} end fold 2</span>
<span class="FoldColumn">  </span><span id="W1L18" class="LineNr"></span>
<span class="FoldColumn">  </span><span class="DiffDelete">--------------------------------------------------------------------------------</span>
<span class="FoldColumn">  </span><span class="DiffDelete">--------------------------------------------------------------------------------</span>
<span class="FoldColumn">  </span><span class="DiffDelete">--------------------------------------------------------------------------------</span>
<span class="FoldColumn">  </span><span id="W1L19" class="LineNr"></span>
<span class="FoldColumn">  </span><span id="W1L20" class="LineNr"></span><span class="Statement">------------------------------------------------------</span>
<span class="FoldColumn">  </span><span id="W1L21" class="LineNr"></span>
<span class="FoldColumn">  </span><span id="W1L22" class="LineNr"></span><span class="DiffChange">test</span><span class="DiffChange"> </span><span class="DiffChange">conceal</span><span class="DiffChange"> </span><span class="DiffText">by</span><span class="DiffText"> </span><span class="DiffText">matching</span><span class="DiffChange">:</span><span class="DiffChange"> </span><span class="DiffChange">conceal matched text conceal</span><span class="DiffChange">                          </span>
<span class="FoldColumn">  </span><span id="W1L23" class="LineNr"></span>test two matches in_a row: consecutive matchconsecutive _match
<span class="FoldColumn">  </span><span id="W1L24" class="LineNr"></span>test conceal by region: conceal--&gt; this text should _be
<span class="FoldColumn">  </span><span id="W1L25" class="LineNr"></span>   concealed..._on multiple lines!
<span class="FoldColumn">  </span><span id="W1L26" class="LineNr"></span>   &lt;--conceal
<span class="FoldColumn">  </span><span id="W1L27" class="LineNr"></span>test concealends: concealed end&lt;-- some text that is_not concealed --&gt;concealed end
<span class="FoldColumn">  </span><span id="W1L28" class="LineNr"></span>
<span class="FoldColumn">  </span><span id="W1L29" class="LineNr"></span> <span class="Statement">vim</span>: fdm<span class="Statement">=</span>marker
</pre>
</div></td>
<td valign="top"><div>
<pre>
<span class="FoldColumn">  </span><span id="W2L1" class="LineNr"></span><span class="Comment">&quot; source this file to view a test of the conceal feature</span>
<span class="FoldColumn">  </span><span id="W2L2" class="LineNr"></span><span class="Comment DiffChange">&quot; </span><span class="Comment DiffText">modify</span><span class="Comment DiffChange"> the conceallevel by pressing &gt; or &lt; to see it change</span><span class="DiffChange">                   </span>
<span class="FoldColumn">  </span><span id="W2L3" class="LineNr"></span>
<span class="FoldColumn">  </span><span id="W2L4" class="LineNr"></span>
<span class="FoldColumn">  </span><span id="W2L5" class="LineNr"></span><span class="Comment">&quot;{{{{{{ start 2 folds</span>
<span class="FoldColumn">  </span><span id="W2L6" class="LineNr"></span><span class="Statement">syntax</span> <span class="Type">match</span> <span class="Type">concealmatch</span> <span class="Constant">/conceal matched text conceal/</span> <span class="Special">conceal</span> <span class="Special">containedin=</span>all
<span class="FoldColumn">  </span><span id="W2L7" class="LineNr"></span>          <span class="Statement">syntax</span> <span class="Type">match</span> <span class="Type">concealconsec</span> <span class="Constant">/consecutive match/</span> <span class="Special">conceal</span> <span class="Special">containedin=</span>all
<span class="FoldColumn">  </span><span id="W2L8" class="LineNr"></span>          <span class="Statement">syntax</span> <span class="Type">region</span> <span class="Type">concealregion</span> <span class="Type">start</span>=<span class="Constant">/conceal--&gt;/</span> <span class="Type">end</span>=<span class="Constant">/&lt;--conceal/</span> <span class="Special">conceal</span> cchar=» <span class="Special">containedin=</span>all
<span id='win2fold1' class='closed-fold'><a href='#' class='toggle-open FoldColumn' onclick='javascript:toggleFold("fold1");'>+</a><a href='#' class='toggle-open FoldColumn' onclick='javascript:toggleFold("fold1");'> </a><a href='#' class='toggle-closed FoldColumn' onclick='javascript:toggleFold("fold1");'>- </a><span class="Folded">+--  4 lines: syntax region concealends matchgroup=concealedend start=/concealed end\ze&lt;--/ end=/--&gt;\zsconcealed end/ concealends containedin=all
</span><span class='fulltext'><span id="W2L9" class="LineNr"></span><span class="Statement">syntax</span> <span class="Type">region</span> <span class="Type">concealends</span> <span class="Special">matchgroup=</span><span class="Type">conceal</span>edend <span class="Type">start</span>=<span class="Constant">/concealed end\ze&lt;--/</span> <span class="Type">end</span>=<span class="Constant">/--&gt;\zsconcealed end/</span> <span class="Special">concealends</span> <span class="Special">containedin=</span>all
<a href='#' class='FoldColumn' onclick='javascript:toggleFold("fold1");'>| </a><span id="W2L10" class="LineNr"></span><span class="Comment">&quot;}}} end fold 1</span>
<a href='#' class='FoldColumn' onclick='javascript:toggleFold("fold1");'>| </a><span id="W2L11" class="LineNr"></span>
<a href='#' class='FoldColumn' onclick='javascript:toggleFold("fold1");'>| </a><span id="W2L12" class="LineNr"></span><span class="Statement">set</span> <span class="PreProc">conceallevel</span>=1
</span></span><span class="FoldColumn">  </span><span id="W2L13" class="LineNr"></span><span class="Statement">nmap</span> &gt; :set conceallevel+=1<span class="Special">&lt;</span><span class="Special">CR</span><span class="Special">&gt;</span>
<span class="FoldColumn">  </span><span id="W2L14" class="LineNr"></span><span class="Statement">nmap</span> &lt; :set conceallevel-=1<span class="Special">&lt;</span><span class="Special">CR</span><span class="Special">&gt;</span>
<span class="FoldColumn">  </span><span id="W2L15" class="LineNr"></span>
<span class="FoldColumn">  </span><span id="W2L16" class="LineNr"></span><span class="Statement">finish</span>
<span class="FoldColumn">  </span><span id="W2L17" class="LineNr"></span><span class="Comment">&quot;}}} end fold 2</span>
<span class="FoldColumn">  </span><span id="W2L18" class="LineNr"></span>
<span class="FoldColumn">  </span><span id="W2L19" class="LineNr"></span><span class="Comment DiffAdd">&quot;</span><span class="DiffAdd"> </span><span class="Todo DiffAdd">TODO</span><span class="PreProc DiffAdd">:</span><span class="Comment DiffAdd"> look at the pretty syntax</span><span class="DiffAdd">                                               </span>
<span class="FoldColumn">  </span><span id="W2L20" class="LineNr"></span><span class="Statement DiffAdd">call</span><span class="DiffAdd"> </span><span class="Normal DiffAdd">FuncThatWontGetCalled</span><span class="Special DiffAdd">(</span><span class="DiffAdd">because, finish, is, called, above</span><span class="Special DiffAdd">)</span><span class="DiffAdd">                  </span>
<span class="FoldColumn">  </span><span id="W2L21" class="LineNr"></span><span class="Comment DiffAdd">&quot; see how I added lines to show up in a diff?</span><span class="DiffAdd">                                   </span>
<span class="FoldColumn">  </span><span id="W2L22" class="LineNr"></span>
<span class="FoldColumn">  </span><span id="W2L23" class="LineNr"></span><span class="Statement">------------------------------------------------------</span>
<span class="FoldColumn">  </span><span id="W2L24" class="LineNr"></span>
<span class="FoldColumn">  </span><span id="W2L25" class="LineNr"></span><span class="DiffChange">test</span><span class="DiffChange"> </span><span class="DiffChange">conceal</span><span class="DiffChange"> </span><span class="DiffText">using</span><span class="DiffText"> </span><span class="DiffText">_match</span><span class="DiffChange">:</span><span class="DiffChange"> </span><span class="DiffChange">conceal</span><span class="DiffChange"> </span><span class="DiffChange">matched</span><span class="DiffChange"> </span><span class="DiffChange">text</span><span class="DiffChange"> </span><span class="DiffChange">conceal</span><span class="DiffChange">                         </span>
<span class="FoldColumn">  </span><span id="W2L26" class="LineNr"></span>test two matches in_a row: consecutive matchconsecutive _match
<span class="FoldColumn">  </span><span id="W2L27" class="LineNr"></span>test conceal by region: conceal<span class="Statement">--&gt;</span> this text should _be
<span class="FoldColumn">  </span><span id="W2L28" class="LineNr"></span>   concealed<span class="Statement">...</span>_on multiple lines!
<span class="FoldColumn">  </span><span id="W2L29" class="LineNr"></span>   <span class="Statement">&lt;--</span>conceal
<span class="FoldColumn">  </span><span id="W2L30" class="LineNr"></span>test concealends: concealed <span class="Statement">end</span><span class="Statement">&lt;--</span> some text that is_not concealed <span class="Statement">--&gt;</span>concealed <span class="Statement">end</span>
<span class="FoldColumn">  </span><span id="W2L31" class="LineNr"></span>
<span class="FoldColumn">  </span><span id="W2L32" class="LineNr"></span> <span class="Statement">vim</span>: fdm<span class="Statement">=</span>marker
</pre>
</div></td>
</tr>
</table>
</body>
</html>
<!-- vim: set foldmethod=manual : -->

